var ai = {
    /**
     * 获取人体部位及症状信息
     */
    getSymptom: function () {
        return new Promise((resolve, reject) => {
            var res = localStorage.getItem("aidata"); 
            if (res)
                resolve(JSON.parse(res));
            else {
                lobsterh5.GET("/lowcode/APP20210729225526937/hospitalguide/?fun=front.getPositionList", {}).then(res => {
                    localStorage.setItem("aidata",JSON.stringify(res))
                    resolve(res);
                }).catch(res => {
                    resolve(res);
                })
            }
        })
    }
}